package com.engine.translate;

import com.memetix.mst.language.Language;
import com.memetix.mst.translate.Translate;

public class Main {
  public static void main(String[] args) throws Exception {

    // Set your Windows Azure Marketplace client info - See http://msdn.microsoft.com/en-us/library/hh454950.aspx
    Translate.setClientId("translator-iris");
    Translate.setClientSecret("estaesunapruebagarotiana=");

    String translatedText = Translate.execute("Bonjour le monde", Language.FRENCH, Language.ENGLISH);
    System.out.println(Language.ARABIC);
    System.out.println(translatedText);
  }
}